package models

import "gorm.io/gorm"

type House struct {
	gorm.Model
	Name   string  `gorm:"type:varchar(20)" json:"name"`
	Price  float64 `gorm:"type:decimal(10,2)" json:"price"`
	Status string  `gorm:"type:enum('在售','已售')" json:"status"`
	Ss     string  `gorm:"type:varchar(30)" json:"ss"`
	Img    string  `gorm:"type:varchar(255)" json:"img"`
}
